package one_class.one_homework;

/**
 * @author 北巷_东坡
 * @date 2022/9/14 20:15
 * @computer 10741
 */
public class Circle extends Geo{
    final double PI=3.14159;
    double r;
    Circle(){

    }
    Circle(double r){
        this.r=r;
    }
    @Override
    public double getArea() {
        return (PI * r * r);
    }
}
